﻿@model MSDAL.Sale

<div class="modal fade" id="sale-usuwanie-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">ID Sali: @Model.IDSali</h4>
            </div>
            <div class="modal-body">
                @using (Html.BeginForm("Delete","Sales", new { id= @Model.IDSali}, FormMethod.Get))
                {
                    <strong>
                        Czy napewno chcesz usunąć rekord?
                    </strong>
                    <div>
                        <strong>Nazwa Sali:</strong>
                        <p>@Html.DisplayFor(model => model.NazwaSali)</p>
                    </div>
                    <div>
                        <strong>Komentarz:</strong>
                        <p>@Html.DisplayFor(model => model.Komentarz)</p>
                    </div>
                    <div>
                        <strong>CzyAktywna:</strong>
                        <p>@Html.DisplayFor(model => model.CzyAktywna)</p>
                    </div>

                    @Html.AntiForgeryToken()

                    <div class="form-actions no-color">
                        <input type="submit" value="Usuń" class="btn btn-default" />
                    </div>
                }
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Zamknij</button>
            </div>
        </div>
    </div>
</div>